package com.ybbase.framework.mapper.system;

import com.ybbase.framework.config.mybatisplus.DataPermission;
import com.ybbase.framework.model.po.system.Post;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 组织机构岗位 Mapper 接口
 * </p>
 *
 * @author cg
 * @since 2019-11-25
 */
public interface PostMapper extends BaseMapper<Post> {
    @DataPermission(dataMethod = "getOrganPostList")
    List<Post> getOrganPostList(Integer organId);
}
